import { error } from '@/utils/notify'

export function check(page, response) {
  if (response.returnCode !== 1) {
    error(page, response.errorText)
    return false
  }
  return true
}
